Copyright: © dk


Help Contents
Contents

What is Socks2HTTP?

Socks Protocol

Socksification

Participants

Host

HTTP Proxy

Client

How it works?

On the client computer

"Socksified"

Hardware/Software requirements.

Client

Installation.

User interface.

Icon on the taskbar

History of changes.

Beta version

Frequently Asked Questions

Questions

Answers


Socks Protocol

Socks2HTTP is an agent converting SOCKS v.5 requests into HTTP requests and

tunneling them through HTTP proxy.

SOCKS protocol allows programs to traverse firewalls on any port number and is

used by many popular programs, like Napster, MSN Messenger, CRT (telnet client)

and many others.

Many companies restrict firewall traversals only to HTTP requests, disabling

SOCKS proxy. Socks2HTTP provides a lightweight SOCKS server for the SOCKS client,

performing its connection through an HTTP proxy.


Socksification

If a client program does not support SOCKS protocol Socks2HTTP can still be used

by using a free "socksificator": SocksCap32 program from www.socks.nec.com

Socks2HTTP was developed by Totalrc.net, all support issues should be directed

to info@totalrc.net.


Host

Target Host that the client wants to make the connection to.


HTTP Proxy

Company HTTP Proxy used for Web Browsing


Participants - Client
Client

Client program run on your PC


On the client computer

Client computer runs socks2http.exe, a software agent to tunnel SOCKS requests

through HTTP proxy.

Client specifies localhost: 1080 as its SOCKS proxy and then runs as usual.


"Socksified"

If a client program does not support SOCKS protocol Socks2HTTP can still be used

by using a free "socksificator": SocksCap32 program from socks.nec.com


Hardware/Software requirements. - Client
Client

Intel 386 or higher processor with at least 16MB of RAM, running Windows NT/95/98.


Installation.

To install the program run setups2h.exe and follow installation instructions.

You have to specify the host name and port number for your HTTP proxy. If your

proxy is configured using proxy autoconfiguration script you can specify the

name of this script (from your web browser).

If your HTTP proxy requires userid/password you have to specify them as well.

You can also specify the connection method: CONNECT or POST. CONNECT method is

generally faster but some proxy servers restrict its usage to certain ports so

it may not work for you. POST method requires using a gateway. The default

gateway: www.totalrc.net on port 80 is specified on the configuration screen. At

this point this is the only gateway set up for this operation.

To uninstall the program run uninstal.exe from the installation directory

or use 'Add/Remove Programs' applet from the Control Panel.


Icon on the taskbar

Socks2HTTP is an agent program that has practically no user interface. When

running it displays a small icon on the taskbar.

Clicking the right mouse button on the icon brings up a menu, letting the user

terminate the agent or configure the program during runtime.


Beta version

#
0.8	Added new tunnelling method, bug fixes, no ads
0.75	Fixed the bug related to locking hosts file on Windows 98/ME. Now Napster has no  problems resoloving server.napster.com from hosts file.
0.74	Patch for Napster downloads on Windows ME
0.73	Bug-fix for FTP and some other programs on Windows NT/2k
0.72	Bug-fix for some pc-based proxies, paricularly Wingate.
0.71	Bug-fix for proxy basic authentication
0.7	Added support for NTLM authentication (MS Proxy) Added support for no-proxy firewall access Handles Napster's overwriting of hosts file Added security protection by blocking other computers and listening on any port
0.61	Added option to only go through gateway
0.6	Added adverts
0.5	Improved contention handling on the gateway
0.4	Supports programs requiring BIND and UDP RELAY parts of SOCKS5 protocol, such as ICQ or PC Anywhere. Stability and performance improved
0.3	Stability vastly improved.If HTTP proxy doesn't support CONNECT socks2http will do POST to the gateway www.totalrc.net.
0.2	Logging, bug-fixes
0.1	First beta release


Questions

When I run the program it complains that it can't find WS2_32.DLL or crashes
What is HTTP proxy? How can I find out the name of my HTTP proxy?
What is proxy autoconfiguration script?
How can I use Napster?
Napster still complains that is unable to resolve "server.napster.com".
What can I do if my client program (telnet, ftp, etc.) does not support SOCKS?
What are the limitations of socks2http?
I tried everything and I am stuck, what can I do?


Answers

When I run the program it complains that it can't find WS2_32.DLL or crashes
A: If your operating system is Windows 95, most likely you don't have any service packs installed. You will need to download Winsock2 update: here and install it. If your operating system is NOT Windows 95, you may need to reinstall it.

What is HTTP proxy? How can I find out the name of my HTTP proxy?
A: HTTP proxy is a server that is routing client HTTP requests (usually coming from their Web Browser) to the Internet. Socks2HTTP needs to know about HTTP proxy to be able to access the Internet. The easiest way to find out what is your HTTP proxy is to look at your Web browser settings. If you use IE you can get info about it from Main Menu/Tools/Internet Options/Connections/Lan Settings. If you use Netscape it is in Main Menu/Edit/Preferences/Advanced/Proxies.
We are working on automating this process as well as using some other methods to find an http proxy. Eventually this functionality will be built into the program, for now here is the utility to try: findproxy.exe
If you still can't find the proxy you can try this advanced method: In your web browser open the following URL: http://www.totalrc.net/servlets/sleeper. It will keep your connection to HTTP proxy open for 2 minutes. Open a DOS window and run "netstat" (without quotes). It will list your current TCP connections. One of the connections is between your computer and HTTP proxy. HTTP proxies usually use ports: 80, 8080, and 3128.

What is proxy autoconfiguration script?
A: A Web browser can obtain proxy information from a special script stored on the server. If your Web browser is set up this way you can paste the script URL from the browser into Socks2HTTP configuration.

How can I use Napster?
A: First, find out what your HTTP proxy is and put it into Socks2HTTP configuration. In Napster when you specify the firewall you do it as: Socks5, localhost, port is 1080. Please leave user name and password fields blank. This should have your Napster up and running,

Napster still complains that is unable to resolve "server.napster.com".
A: The problem you are experiencing is related to Napster trying to resolve the address of "server.napster.com" and failing because your DNS server has no information about it. This can be resolved by adding to your hosts file.
You should append _ONE_ of the following lines(whichever works for you):
64.124.41.16 server.napster.com
64.124.41.17 server.napster.com
64.124.41.18 server.napster.com
64.124.41.19 server.napster.com
to c:\winnt\system32\drivers\etc\hosts (for NT) or c:\windows\hosts (for Windows 9x).
If this file does not exist it has to be created.
To make sure that Napster does not overwrite hosts file you need to use version 0.7 or higher of Socks2HTTP.
IMPORTANT NOTE: Make sure that in your Network settings DNS is enabled. To get to DNS follow this path: Control Panel, Network, Configuration, Select Adapter, Properties, DNS Configuration, Enable DNS

What can I do if my client program (telnet, ftp, etc.) does not support SOCKS?
A: Please download the free SocksCap32 utility from http://www.socks.nec.com/reference/sockscap.html If you run your program from SocksCap32 all your network calls will be "socksified", i.e. converted to use SOCKS protocol. In setting up SocksCap32 you should specify your SOCKS5 server as localhost, port is 1080, no authentication.
If you have DNS problems, i.e. some host names are not resolved, please select the option: "Try local then remote" when setting up SocksCap32.
The combination of Socks2HTTP with SocksCap32 lets you enjoy multiple benefits on the Internet when you are behind a firewall, such as:
  Anonymously browse the net (run your favorite Web Browser from SocksCap32)
  Browse restricted sites (run your favorite Web Browser from SocksCap32)
  Access your email on any server (run your favorite email client from SocksCap32)
  Read news (run your favorite Newsreader from SocksCap32)
  Use cool programs, like Stamps.com (run your favorite cool programs from SocksCap32)
  etc, etc, etc.
Programs run from SocksCap32 should always be configured to use Direct(no proxies) connection to the Internet.

What are the limitations of socks2http?
A: Version 0.74 can't deal with proxies that provide HTTP/1.1 responses to HTTP/1.0 requests.
I tried everything and I am stuck, what can I do?
A: Make sure that you are using the latest version of the program. It can be downloaded from http://www.totalrc.net/s2h.
If it still does not work set up the log file in the configuration screen with log level=5000 and email the file logged during unsuccessful run to support_socks2http@totalrc.net. Also attach to the email the screenshots (or detailed descriptions) of socks2http configuration screen and the client program configuration screen. (Alt+PrintScreen captures a window into your clipboard). We will diagnose the problem and try to find the solution.